<%--
  Created by IntelliJ IDEA.
  User: avilches
  Date: 13-may-2010
  Time: 10:07:52
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
  <head><title>Simple GSP page</title></head>
  <body>
  <h1>Peliculas</h1>
  <g:link action="porGenero">Por genero</g:link>


  <ul>
  <g:each in="${peliculas}" var="pelicula">
      <li>${pelicula?.nombre} ${pelicula.duracion} min, ${pelicula.genero?.nombre} (${pelicula.genero?.edadMinima} edad minima)</li>

  </g:each>
      </ul>


  </body>
</html>